// services/consult.js
import { http } from '@/utils/http'

/**
 * 医生科室列表
 */
export const departmentListApi = () => {
	return http.get('/dep/all')
}

export const preOrderApi = (type, options = {}) => {
	return http.get('/patient/consult/order/pre', {
		params: {
			type,
			...options,
		},
	})
}
